.tags-view-container {
  height: $tagsviewHeight;
  width: 100%;
  background: $tagsviewBg;
  border-bottom: 1px solid #DDDDDD;
  .tags-view-wrapper {
    overflow: visible;
    ::v-deep .el-scrollbar__wrap {
      overflow-x: hidden;
    }
    .tags-view-item {
      display: inline-block;
      position: relative;
      cursor: pointer;
      height: $tagsviewItemHeight;
      line-height: $tagsviewItemHeight;
      color: $tagsviewColor;
      padding: 0 0 0 16px;
      font-size: 0;
      margin-left: 5px;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      margin-top: $tagsviewHeight - $tagsviewItemHeight;
      transition: padding-right .6s;
      &:first-of-type {
        margin-left: 15px;
      }
      &:last-of-type {
        margin-right: 15px;
      }
      &.active {
        background-color: $tagsviewActiveBg;
        color: $tagsviewActiveColor;
      }
      &.single {
        padding-right: 16px;
      }
      .tag-text {
        font-size: 12px;
        vertical-align: middle;
      }
      .el-icon-close {
        width: 16px;
        height: 16px;
        vertical-align: middle;
        font-size: 12px;
        line-height: 16px;
        border-radius: 50%;
        text-align: center;
        transition: all .3s cubic-bezier(.645, .045, .355, 1);
        transform-origin: 0 50%;
        transform: scaleX(0);
        &:hover {
          background-color: $tagsviewActiveColor;
          color: #fff;
        }
      }
      &:hover {
        background-color: $tagsviewActiveBg;
        color: $tagsviewActiveColor;
        padding: 0 12px 0 16px;
        .el-icon-close {
          transform: scaleX(1);
        }
      }
    }
  }
  .contextmenu {
    margin: 0;
    background: #fff;
    z-index: 3000;
    position: absolute;
    list-style-type: none;
    padding: 5px 0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3);
    li {
      margin: 0;
      padding: 7px 16px;
      cursor: pointer;
      &:hover {
        background: #eee;
      }
    }
  }
  .scroll-container {
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    width: 100%;
    ::v-deep {
      .el-scrollbar__bar {
        bottom: 0px;
      }
      .el-scrollbar__wrap {
        height: 49px;
      }
    }
  }
}